package priv.pattern.factory.staticFactory;

import priv.pattern.factory.staticFactory.abs.impl.Beansand;
import priv.pattern.factory.staticFactory.abs.impl.FiveKernel;

/*
 * 作者：m鹏h
 * 时间；2024/6/19 9:01
 * 描述：用于测试静态工厂模式类
 **/
public class StaticFactoryTest {
    public static void main(String[] args) {

        MooncakesFactory.makeMooncakes(FiveKernel.class).eat();
        MooncakesFactory.makeMooncakes(Beansand.class).eat();

    }
}
